# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit gnome2 cvs

ECVS_USER="anonymous"
ECVS_SERVER="cvs.sourceforge.net:/cvsroot/mlt"
ECVS_MODULE="mlt"
ECVS_LOCALNAME="${PN}"
S=${WORKDIR}/${ECVS_LOCALNAME}

DESCRIPTION="Multimedia Video production framework."
HOMEPAGE="http://mlt.sf.net/"
SRC_URI=""
LICENSE="MIT Apache-1.1"
SLOT="0"
KEYWORDS="~x86"
IUSE="doc"

RDEPEND=">=dev-lang/mono-1.0"

DEPEND="${RDEPEND}
    dev-util/pkgconfig"

DOCS="AUTHORS ChangeLog INSTALL NEWS README"

#G2CONF="${G2CONF} `use_enable epiphany epiphany-extension`
#--with-mozilla=mozilla `use_enable network`  --enable-webservices=yes"

src_compile() {
	./autogen.sh 
	gnome2_src_compile
}
src_install() {
	dodir /usr/bin
	make DESTDIR=${D} prefix=${D}/usr install || die "install failed"
}
